package com.cloudkinto.service.template.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangyy
 * @date 2020/10/26 15:10
 * @description:
 */
@Data
@ApiModel
public class TrucksTemplateAddReq {

    /**
     * 货车名称
     */
    @ApiModelProperty("货车名称")
    @NotBlank(message = "pls.input.trucks.name")
    private String trucksName;

    /**
     * 货车编号
     */
    @ApiModelProperty("货车编号")
    @NotBlank(message = "pls.input.trucks.code")
    private String trucksCode;

    @ApiModelProperty("体积")
    @NotNull(message = "pls.input.product.volume")
    private Double volume;

    @ApiModelProperty("重量")
    @NotNull(message = "pls.input.product.weight")
    private Double weight;

    @ApiModelProperty("长度")
    @NotNull(message = "pls.input.product.length")
    private Double length;

    @ApiModelProperty("宽度")
    @NotNull(message = "pls.input.product.width")
    private Double width;

    @ApiModelProperty("高度")
    @NotNull(message = "pls.input.product.height")
    private Double height;

    @ApiModelProperty("公司编码")
    @NotBlank(message = "pls.chose.company")
    private String companyCode;

    @ApiModelProperty("公司电话")
    private String companyTel;

    @ApiModelProperty("公司地址")
    private String companyAddress;

    @ApiModelProperty("仓库id")
    @NotNull(message = "pls.chose.storage")
    private Long storageId;
}
